package com.happycat.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import lombok.Data;


@Configuration
@PropertySource("classpath:config/application-security.properties")
@ConfigurationProperties(prefix = "happycat.security")
public class HappyCatSecurity {

	private String aesKey;

	private String stageBackAesKey;

	public String getStageBackAesKey() {
		return stageBackAesKey;
	}

	public void setStageBackAesKey(String stageBackAesKey) {
		this.stageBackAesKey = stageBackAesKey;
	}

	private String [] antMatchers;

	private String [] staticResource;

	public String getAesKey() {
		return aesKey;
	}

	public void setAesKey(String aesKey) {
		this.aesKey = aesKey;
	}

	public String[] getAntMatchers() {
		return antMatchers;
	}

	public void setAntMatchers(String[] antMatchers) {
		this.antMatchers = antMatchers;
	}

	public String[] getStaticResource() {
		return staticResource;
	}

	public void setStaticResource(String[] staticResource) {
		this.staticResource = staticResource;
	}


}
